<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta charset="utf-8" />
<title>添加采集规则 - FinalCMS Admin</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />

<link rel="stylesheet" href="${ctx}/css/bootstrap.min.css" />
<link rel="stylesheet" href="${ctx}/css/font-awesome.min.css" />
<link rel="stylesheet" href="${ctx}/css/jquery-ui.custom.min.css" />
<link rel="stylesheet" href="${ctx}/css/select2.css" />
<link rel="stylesheet" href="${ctx}/css/fc-fonts.css" />
<link rel="stylesheet" href="${ctx}/css/fc.min.css" />
<!--[if lte IE 9]>
	<link rel="stylesheet" href="${ctx}/css/fc-part2.min.css" />
<![endif]-->
<link rel="stylesheet" href="${ctx}/css/fc-skins.min.css" />
<link rel="stylesheet" href="${ctx}/css/fc-rtl.min.css" />

<!--[if lte IE 9]>
  <link rel="stylesheet" href="${ctx}/css/fc-ie.min.css" />
<![endif]-->

<!--[if lte IE 8]>
<script src="${ctx}/js/html5shiv.js"></script>
<script src="${ctx}/js/respond.min.js"></script>
<![endif]-->
</head>

<body class="no-skin">
	<div class="page-content">
		<div class="page-header">
			<h1>
				小说采集规则
				<small>
					<i class="ace-icon fa fa-angle-double-right"></i>
					所有规则
				</small>
			</h1>
		</div><!-- /.page-header -->
		<div class="row">
			<div class="table-container col-xs-12 table_page">
				<h4 class="lighter">
					<i class="ace-icon fa fa-home icon-animated-hand-pointer blue"></i>
					<a href="/" class="pink" style="margin-right: 30px;"> 返回首页 </a>
					<i class="ace-icon fa fa-user icon-animated-hand-pointer blue"></i>
					<a href="/user/goFavorite" class="pink" style="margin-right: 30px;"> 返回个人中心 </a>
					<i class="ace-icon fa fa-hand-o-right icon-animated-hand-pointer blue"></i>
					<a href="/rule/novel/create" class="pink"> 创建新规则 </a>
				</h4>
				<div class="hr hr-18 hr-double dotted"></div>
				<table id="content-table" class="table table-striped table-bordered table-hover table_page">
					<thead>
						<tr>
							<th class="center">规则名</th>
							<th class="center"></th>
							<th class="center"></th>
							<th class="center"></th>
						</tr>
					</thead>
					<tbody>
						<?
						for(file in files!){
							?>
						<tr>
							<td class="center">${file}</td>
							<td class="center"><a href="${ctx}/rule/novel/delete?name=${file}">删除</a></td>
							<td class="center"><a href="${ctx}/rule/novel/edit?name=${file}">编辑</a></td>
							<td class="center"><a href="${ctx}/rule/novel/down?name=${file}">下载</a></td>
						</tr>
						<?}?> 
					</tbody>
				</table>
			</div>
		</div>
	</div><!-- /.page-content -->
</div>

	<script type="text/javascript" src="${ctx}/js/jquery1.11.0.min.js"></script>
	<script type="text/javascript" src="${ctx}/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="${ctx}/js/fc-extra.min.js"></script>
	<script type="text/javascript" src="${ctx}/js/fc-elements.min.js"></script>
	<script type="text/javascript" src="${ctx}/js/fc.min.js"></script>
	<script type="text/javascript" src="${ctx}/js/rule.novel.js"></script>
</body>
</html>
